package com.lcredu.mapper;

import com.lcredu.entity.Monster;
import org.apache.ibatis.executor.Executor;

import java.util.List;

/**
 * @author 黎长容
 * @date 2025-07-27 17:34
 */
public interface MonsterMapper {
    //比如添加
    public void addMonster(Monster monster);
    
    //删除
    public void delMonster(Integer id);
    
    //修改
    public void updateMonster(Monster monster);
    
    //查询单个
    public Monster selectMonsterById(Integer id);
    
    //查询一个集合
    public List<Monster> selectMonsters();
}
